package com.shop.cereshop.business.param.shop;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "IdCardOCRParam", description = "身份证OCR识别请求参数")
public class IdCardOCRParam {

    @ApiModelProperty(value = "身份证正面（人像面）图片URL", required = true)
    @NotBlank(message = "身份证正面图片URL不能为空")
    private String frontImageUrl;

    @ApiModelProperty(value = "身份证反面（国徽面）图片URL", required = true)
    @NotBlank(message = "身份证反面图片URL不能为空")
    private String backImageUrl;
}
